package com.spring.security.core.properties.white;

import com.spring.security.core.properties.SecurityConstants;
import lombok.Getter;
import lombok.Setter;

/**
 * @author seabed_moon
 */
@Setter
@Getter
public class WhiteProperties {

    private String[] urls = {};


    /**
     * 默认的白名单url
     */
    private final String[] defaultUrls = {
            SecurityConstants.DEFAULT_UNAUTHENTICATION_URL,
            SecurityConstants.DEFAULT_SIGN_IN_PROCESSING_URL_MOBILE,
            SecurityConstants.DEFAULT_SIGN_IN_PROCESSING_URL_OPENID,
            SecurityConstants.REFRESH_TOKEN_URL,
            SecurityConstants.DEFAULT_VALIDATE_CODE_URL_PREFIX + "/image",
            SecurityConstants.DEFAULT_VALIDATE_CODE_URL_PREFIX + "/sms"
    };

    public String[] allUrls = {};
}
